package com.arges.web.domain.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 职工
 * 
 * @author zxj
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "work")
public class Work implements java.io.Serializable
{

	@Id
	@SequenceGenerator(name = "work", sequenceName = "SEQ_WORK")
	@GeneratedValue(generator = "work", strategy = GenerationType.AUTO)
	private Long id;

	@Column(name = "ENO")
	private String eno;

	@Column(name = "ID_CARD")
	private String id_card;

	@Column(name = "D_NAME")
	private String d_name;

	@Column(name = "SEX")
	private String sex;

	@Column(name = "AGE")
	private String age;

	@Column(name = "PHONE")
	private String phone;

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public String getEno()
	{
		return eno;
	}

	public void setEno(String eno)
	{
		this.eno = eno;
	}

	public String getId_card()
	{
		return id_card;
	}

	public void setId_card(String id_card)
	{
		this.id_card = id_card;
	}

	public String getD_name()
	{
		return d_name;
	}

	public void setD_name(String d_name)
	{
		this.d_name = d_name;
	}

	public String getSex()
	{
		return sex;
	}

	public void setSex(String sex)
	{
		this.sex = sex;
	}

	public String getAge()
	{
		return age;
	}

	public void setAge(String age)
	{
		this.age = age;
	}

	public String getPhone()
	{
		return phone;
	}

	public void setPhone(String phone)
	{
		this.phone = phone;
	}

}
